Fix regression in QPointF::operator==
authorAllan Sandfeld Jensen <allan.jensen@qt.io>
Mon, 9 Jul 2018 13:30:49 +0000 (15:30 +0200)
committerSimon Quigley <tsimonq2@ubuntu.com>
Wed, 25 Jul 2018 09:49:30 +0000 (10:49 +0100)
commitbe7f1edb255fd9ad1929c1ae5011d79f39a761c0
tree0521c11b9b4a4e5dcee1b2dc9f42da9173f63f9b
parent843785b56c914c352c0f7c0f4722015a60360648
Fix regression in QPointF::operator==

Handle hard zero independently in each coordinate, otherwise hard zero
is never equal to anything but itself.

Task-number: QTBUG-69368
Change-Id: I8b1131472bb92efc706a04e0b067e2211a5ccb0c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Gbp-Pq: Name fix_regresion_in_QPointF_operator_equals.patch
src/corelib/tools/qpoint.h
tests/auto/corelib/tools/qpointf/tst_qpointf.cpp